projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed5409
)
(safe-documentation): Don't crash on byte-compiled macro.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 8 Jun 1993 01:32:42 +0000
(
01:32
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 8 Jun 1993 01:32:42 +0000
(
01:32
+0000)
lisp/apropos.el
patch
|
blob
|
history
diff --git
a/lisp/apropos.el
b/lisp/apropos.el
index 6c2568eca5569b06fd7fb756561598891e0109b5..f147b0b182a21f8a2080cd67f28b540892aba882 100644
(file)
--- a/
lisp/apropos.el
+++ b/
lisp/apropos.el
@@
-329,10
+329,10
@@
Will return nil instead."
(setq function (if (fboundp function)
(symbol-function function)
0)))
+ (if (eq (car-safe function) 'macro)
+ (setq function (cdr function)))
(if (not (consp function))
nil
- (if (eq (car function) 'macro)
- (setq function (cdr function)))
(if (not (memq (car function) '(lambda autoload)))
nil
(setq function (nth 2 function))